<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>正则测试</title>
<style>
	textarea{width:100%;height:200px}
</style>
<script type="text/javascript" src="/PlayerLite/images/swfobject.js"></script>
</head>
<?php
if($_POST){

require_once(APP_PATH . "Common/yzs1013_pldr.php");
$re=jcre($re);
$re=stripSlashes(trim($re));
preg_match_all("/".$re."/Uisx",stripSlashes($_POST[nr]),$nn);

}
?>
<body>
<form name=myform method="POST" action="retest.php">
<textarea name=re ondblclick="myform.submit()"><?echo htmlspecialchars($re)?></textarea>
<?php
if($nr==""){
    $fn=fopen("d:\\TMPTMP_ytempnr.htm","r");
	$nr=fread($fn,filesize("d:\\TMPTMP_ytempnr.htm"));
	fclose($fn);
	$nr =iconv($in_charset ='UTF-16LE',$out_charset ='UTF-8',$nr);
}else{
    $nr=stripSlashes($nr);
}
$nr=str_replace("<","&lt;",$nr);
$nr=str_replace(">","&gt;",$nr);
?>
<textarea name=nr ondblclick="this.value='';myform.submit()"><?echo $nr?></textarea>
</form>
<div class="video" id="CuPlayer" style="950px;margin:0 auto;"></div>
<script type="text/javascript">
var so = new SWFObject("/PlayerLite/PlayerLite.swf","CuPlayerV4","520","325","9","#000000");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addParam("quality","high");
so.addParam("salign","lt");
so.addVariable("videoDefault","http://ipad.cuplayer.com/p.php/106753408/2754554776.mp4"); //视频文件地址
so.addVariable("autoHide","true");
so.addVariable("hideType","fade");
so.addVariable("autoStart","false");
so.addVariable("holdImage","/PlayerLite/start.jpg");
so.addVariable("startVol","60");
so.addVariable("hideDelay","60");
so.addVariable("bgAlpha","75");
so.write("CuPlayer");
</script>
<textarea name=nn><?echo htmlspecialchars(print_r($nn,1))?></textarea>
</body>
</html>
